Structure of a shock wave front in a porous solid