An optical fiber temperature sensor based on fluorescence intensity ratio used for real-time monitoring of chemical reactions