Spatiotemporal transmission dynamics of the COVID-19 pandemic and its impact on critical healthcare capacity