Functional improvement is sustained following anatomical and reverse shoulder arthroplasty for fracture sequelae: a registry-based analysis