Chronic Pain, Hopelessness, and Suicide Risk Among Adult Medical Inpatients.