Estimating curves and derivatives with parametric penalized spline smoothing