Effects of variations in recharge on groundwater quality