The Mind of the Chimpanzee: Ecological and Experimental Perspectives