The association between type 2 diabetes mellitus, hip fracture, and post-hip fracture mortality: a multi-state cohort analysis