mental health and nerve pain