Cognitive predictors of suicide