Principles of fluorescence spectroscopy