Climate changes and their impacts on water resources in semiarid regions: a case study of the Wei River basin, China