How gait changes in preoperative and postoperative patients with total hip replacements