Electronic structures and energetics of [5,5] and [9,0] single-walled carbon nanotubes.