Study of the effect of capillary pressure on the permeability of porous media embedded with a fractal-like tree network