Modeling N2O production by ammonia oxidizing bacteria at varying inorganic carbon concentrations by coupling the catabolic and anabolic processes