Cognitive coping response to crises and onset of depression