Carbon nanotube chemistry