Computer-aided design of femoral stem prostheses