Capillary effects on phase behavior of liquid and gaseous propane and dynamics of hydrate formation and dissociation in porous media