From mechanical to autonomous agency: the relationship between children's moral judgments and their developing theories of mind.