Understanding the thermodynamics for economical methane production from gas hydrate reservoirs using CO2 injection