Application of neural networks to load-frequency control in power systems