Effects of dissolved oxygen and pH on nitrous oxide production rates in autotrophic partial nitrification granules.