Estimation in a Cox regression model with a change-point according to a threshold in a covariate