State-space Models with Layer-wise Nonlinearity are Universal Approximators with Exponential Decaying Memory