Photoacoustic measurement of the thermal effusivity of solids