Mortality trends and lengths of stay among hospitalized COVID-19 patients in Ontario and Quebec (Canada): a population-based cohort study of the first three epidemic waves