Monitoring of O2 and NO2 using tunable diode lasers in the near-infrared region