Assessment of a linearly chirped fiber Bragg grating sensor under linear and non-linear temperature gradient