Specific features of the formation of gas hydrates during the injection of a cold gas into a porous medium saturated with a gas and water