Emotional and cognitive processes in communication in humans and other primates