Prosthetic replacement in femoral neck fractures: a comparative study of bipolar endoprosthesis and conventional hemiarthroplasty