Osteosynthesis versus endoprosthesis in the treatment of unstable intracapsular hip fractures in the elderly