Outcomes after hip fracture surgery versus elective hip replacement: propensity score matched study