Simulating influenza epidemics with waning vaccine immunity