Spectrally resolved high-NA back focal plane imaging of fluorescence and nanolaser emission