How your mental health is affecting your pain