Teachers’ well-being and effectiveness: the role of the interplay between job demands and job resources