Direct observation of geometrical phase transitions in mesoscopic superconductors by scanning tunneling microscopy.