Evaluating the impact of stay-at-home and quarantine measures on COVID-19 spread