Optimal response to epidemics : models to inform policy