Cognitive and social factors associated with NSSI and suicide attempts in psychiatrically hospitalized adolescents.