Joint estimation of the basic reproduction number and generation time parameters for infectious disease outbreaks.