Monitoring thermoset polymerization by using piezoelectric measurements