Relationship between hip joint medial space ratio and collapse of femoral head in non-traumatic osteonecrosis: a retrospective study