Fluorescence imaging: theory and applications