Identification of the long-term variations of groundwater and their governing factors based on hydrochemical and isotopic data in a river basin