Cognitive factors in depression and efficacy of intervention in managing depression: a study among adolescents at risk of depression