Perceptual compensation for reverberation in human listeners and machines