Neuromorphic adaptive spiking CPG towards bio-inspired locomotion of legged robots