History of abuse is associated with thoughts of harm among patients with pain after accounting for depressive symptoms