Quantifying transmission risk of SARS-CoV-2 in different situations