State-dependent neuromodulation of mammalian spinal networks