Continuous determination of nitrate concentrations in situ