A Device to Measure the Shrinkage and Heat Transfers during the Curing Cycle of Thermoset Composites