Exposure to medicines among patients admitted for hip fracture and the case-fatality rate at 1 year: a longitudinal study