Modeling Analog Dynamic Range Compressors using Deep Learning and State-space Models