Determination of nitrate in natural waters with the photo-induced conversion of nitrate to nitrite