Imaging the formation of a p-n junction in a suspended carbon nanotube with scanning photocurrent microscopy