The role of the teacher in promoting self-regulated learning