Three-dimensional calibration for routine analyses of bromide and nitrate ions as indicators of groundwater quality in coastal territories