Isothermal liquid transport in porous media: capillary hysteresis effects