Determination of the length of single-walled carbon nanotubes by scanning electron microscopy