Understanding why superspreading drives the COVID-19 pandemic but not the H1N1 pandemic