Estimating the generation-time distribution of an age-dependent branching process.