Photoacoustic excitation of the interior surface of an acoustic resonator for speed of sound measurement