Analysis of time-varying cellular neural networks for quadratic global optimization