Calibrating COVID-19 SEIR models with time-varying effective contact rates