Impact of Capillary Pressure and Critical Properties Shift Due to Confinement on Hydrocarbon Production from Shale Reservoirs