Unified Design of Training and Structure of Feedforward Neural Networks Using Genetic Algorithms, and Its Applications