Teachers' understandings and beliefs about the role of the learning environment