Teachers' fundamental beliefs, commitment to reform, and the quality of pedagogy