Electronic structure of carbon nanotubes studied by photoelectron spectromicroscopy