mental health and headaches