Pre-operative sensor-based gait parameters predict functional outcome after total knee arthroplasty.