Text this: Predictors of improved functional outcome in elderly inpatients after rehabilitation: a retrospective study