Prediction of thermoset viscosity using a thermomechanical analyzer