Isotopomer analysis of production and consumption mechanisms of N2O and CH4 in an advanced wastewater treatment system.