Cognitive therapy in treating depressive disorder