Influence of geochemical processes on geotechnical stability of tailings storage facilities