Amplification of the parametric dynamical Casimir effect via optimal control