Development of photoacoustic spectroscopic technique for the study of materials