Nonlinear dynamics of a CO2 laser with current modulation and cavity detuning