Cost and social distancing dynamics in a mathematical model of COVID-19 with application to Ontario, Canada