Evolution of modular neural networks