Nitrogen transformation in wetlands and marshes