Spectral and lifetime measurements of endogenous fluorescence using endoscopic and benchtop microscope configuration