Evaluation of achievable registration accuracy of the femur during minimally invasive total hip replacement