Features of the Decomposition of Gas Hydrates with the Formation of Ice in a Porous Medium