The association between smoking status and hospital length of stay: evidence from a hospital-based cohort