Estimating generation time of SARS-CoV-2 variants from the daily incidence rate