Direct anterior approach versus direct lateral approach in total hip arthroplasty and bipolar hemiarthroplasty for femoral neck fractures: a retrospective comparative study