Predicting mortality in acutely hospitalized older patients: a retrospective cohort study