Regimes of Hydrate Formation in the Process of Injection of Carbon Dioxide into a Porous Medium Saturated with Methane and Water