Effect of water pressure and expulsion on hydrocarbon generation of kerogen under semi-closed conditions