Molecular dynamics study of nucleation in supersaturated vapor of carbon dioxide