The econometrics of structural change with special emphasis on spline