Learning under Model Misspecification: Applications to Variational and Ensemble methods