Changes in problem-solving appraisal after cognitive therapy for the prevention of suicide