Text this: Theoretical framework and experimental validation for monitoring the glass transition temperature of thermosets using a low-cost Fresnel reflection sensor