Stochastic amplification in epidemics