Postoperative Pain in Thoracic Surgical Patients: An Analysis of Factors Associated With Acute and Chronic Pain.