Application of acoustic resonators in photoacoustic trace gas analysis and metrology