Physics of Carbon Nanotube Devices