Learning the rules: observation and imitation of a sorting strategy by 36-month-old children.