An assessment of sleep quality in patients undergoing total knee arthroplasty before and after surgery.