Thermodynamic modeling and sensitivity analysis of porewater chemistry in compacted bentonite