Robots learn to evolve and improve