On stability of cellular neural networks