Gas separation through carbon nanotubes