Title: Optical detection of excited state resonances in gases and solids