On the mechanism of pressure increase with increasing porosity of the media compressed in conical and cylindrical targets