Electric-field effects on the energy spectrum of carbon nanotubes