Numerical reactive transport modeling of soluble mineral and fluid interactions in the subsurface and application to sedimentary geothermal systems