Development of a composite intramedullary nail for treating femoral shaft fractures