A chaotic approach to maintain the population diversity of genetic algorithm in network training