cognitive theory of mental health