The calculation of energy gaps in small single-walled carbon nanotubes within a symmetry-adapted tight-binding model