Solution of bent-wire problems by monkeys and chimpanzees.