Stress analysis of femur and femoral stems for hip arthroplasty