Modeling carbon dioxide transport in unsaturated soils