Mechanisms for Gas Diffusion and Flow through Shale with Water Saturation