how sex affects your mental health