Molecular Simulation of Henry's Constant at Vapor-Liquid and Liquid-Liquid Phase Boundaries