A carbon nanotube based nanodevice for gene therapy