Chirality of internal metallic and semiconducting carbon nanotubes