Swept dynamics of a CO2 laser near threshold: Two- versus four-level model