Topological optimization in hip prosthesis design