High spatial resolution diagnostics of optical waveguides using a photon-scanning tunneling microscope