The effect of climate on the chemistry of carbonate groundwater