SEMIPARAMETRIC ESTIMATION OF SHIFTS BETWEEN CURVES