Simultaneous determination of the ground level abundances of N2O, CO2, CO and H2O