Electron beam-induced structure transformation of single-walled carbon nanotubes