Picosecond measurements using photoacoustic detection