A new estimation method for COVID-19 time-varying reproduction number using active cases