Mechanisms for CO2 Sequestration in Geological Formations and Enhanced Gas Recovery