Compression systems for hearing aids and cochlear prostheses