Structural stability and energetics of single-walled carbon nanotubes under uniaxial strain