Can influenza epidemics be prevented by voluntary vaccination?