Hydrocarbon Phase Behaviors And Water-Driven Flow In Kerogen Nanoporous Media