Ecological control of nitrite in the upper ocean