Optimal anterior femoral offset for functional range of motion in total hip arthroplasty—a computer simulation study