A five-compartment model of age-specific transmissibility of SARS-CoV-2