Thermal characterization of liquids and polymer thin films using a microcalorimeter