Functional analysis of pre and post-knee surgery: total knee arthroplasty and ACL reconstruction.