Chimpanzee theory of mind: Part I. Perception of causality and purpose in the child and chimpanzee