Predictive analytics in mental health: applications, guidelines, challenges and perspectives