A spline smoothing homotopy method for nonconvex nonlinear programming