Generalization error minimization: a new approach to model evaluation and selection with an application to penalized regression