Effects of intramedullary nailing fixation on quality of life and joint function in patients with femoral neck fractures