Modeling anisotropic permeability of coal and its effects on CO2 sequestration and enhanced coalbed methane recovery