Discerning the role of denitrification, anammox, and N2O production in aquatic systems