Thermal diffusivity measurements for thin films by the photoacoustic effect