The inverse mean curvature flow and p-harmonic functions