A time-varying SIRD model for the COVID-19 contagion in Italy