Chirped fiber-bragg grating as self-temperature referenced strain sensor in nonisothermal thermoset processing