Frequency dependence of resonant photoacoustic cells: The extended Helmholtz resonator