Carbon nanotube devices engineered by atomic force microscopy