Locally D-optimal designs for spline measurement error models with estimated knots