A prospective study of suicidal ideation in posttraumatic stress disorder: the role of perceptions of defeat and entrapment.