Effect of sample thickness on the magnitude of optoacoustic signals