Miniature fiber optic spectrometer-based quantitative fluorescence resonance energy transfer measurement in single