mental health and pain management