Depth profiling of absorbing soft materials using photoacoustic methods