Effect of preoperative deformity on postoperative leg axis in total knee arthroplasty: a prospective randomized study