EpiEstim: a package to estimate time varying reproduction