Cutting single-walled carbon nanotubes