A microgenetic analysis of teachers’ learning through teaching