recognition of pain in animals