Nitrate as a tracer of groundwater flow in a fractured multilayered aquifer