Cognitive therapy in the treatment and prevention of depression