Modelling evolution of host defence in seasonal environments.