Photoacoustic monitoring of adhesive curing