How diet affects mental health