Buildup of thermoset and crystallization of thermoplastics studied by electrical techniques