Validation of classical beam and plate models by variational convergence