Photoacoustic photocalorimetry of a solid state reaction