Self-monitoring and knowledge-building in learning by teaching