On success runs in a sequence of dependent trials with a change point