`In situ' measurement of thermoset resin degree of cure using embedded fiber optic