Perceptual audio coding using adaptive pre- and post-filters and lossless compression