Carbon dioxide transport and retention in coal