Single Carbon Nanotubes as Ultrasmall All-Optical Memories