Emotional and cognitive aspects of pain