Effect of Water Imbibition on Shale Permeability and Its Influence on Gas Production