Does hip osteoarthritis have a protective effect against proximal femoral fractures? A retrospective study