Prediction of poor outcomes six months following total knee arthroplasty in patients awaiting surgery