Job demands and job resources as predictors of teacher motivation and well-being