Molecular simulations of adsorption, phase behavior, and reactivity in subsurface fluid-solid systems