A spectral approach for studying and predicting chaos in delayed cellular neural networks