emotional impact of pain