Photoacoustic spectroscopy of solids and surfaces