Mobility and other predictors of hospitalization for urinary tract infection: a retrospective cohort study