Metallic and semiconducting narrow carbon nanotubes