Symmetry of boundary conditions of the Dirac equation for electrons in carbon nanotubes