Global asymptotic properties of an SEIRS model with multiple infectious stages