The effects of defects in CO2 diffusion through carbon nanotubes