The role of metacognition in contemporary theories of cognitive development