Inferring the effectiveness of government interventions against COVID-19