Fiber Bragg grating temperature sensor