Monitoring by a single fiber Bragg grating of the process induced chemo-physical transformations of a model thermoset