Preoperative Predictors of Pain Catastrophizing, Anxiety, and Depression in Patients Undergoing Total Joint Arthroplasty.