Optimization of ridge parameters in multivariate generalized ridge regression by plug-in methods