Fiber optic thermoset cure monitoring sensor