Kondo effects in carbon nanotubes: From SU(4) to SU(2) symmetry