Determination of nitrate and nitrite in mixtures with a nitrate ion electrode