Spectroscopy and imaging using the photon scanning-tunneling microscope