Analytical solution of the problem of hydrate formation in a porous medium with a temperature jump at the phase transition front