Transport properties of carbon dioxide and methane from molecular dynamics simulations.