Sex assessment from the proximal femur in a Spanish population based on three-dimensional computed tomography metric analysis