Pyroelectric calorimeter for photothermal studies of thin films and adsorbates