Interpretation of environmental tracers in groundwater systems with stagnant water zones