First-principles band structures of armchair nanotubes