Clinical risk, sociodemographic factors, and SARS-CoV-2 infection over time in Ontario, Canada