Strategic monitoring to account for rapid variations in the nitrate concentration of groundwater and surface water