Asymptotically Optimal Regularization in Smooth Parametric Models