Simultaneous measurement of impulse response and distortion with a swept-sine technique