Applications of scanning near-field photon emission microscopy