Optical properties of carbon nanotubes