Simultaneous measurement of hysteresis in capillary pressure and electric permittivity for multiphase flow through porous media