Optic fiber temperature sensor based on cascading fiber Bragg gratings