Online Optimization of Central Pattern Generators for Quadruped Locomotion