Change-point estimation in piecewise constant regression models with random effects