Characterization of the cure of some epoxides and their sulphur-containing analogues with hexahydrophthalic anhydride by DSC and TGA