Factors affecting the transmission of SARS-CoV-2 in school settings