Cell effects in optoacoustic spectrometry