Computational testing of patient-specific gait features and pelvic motion effects on the risk of edge contact in total hip replacements