Identification of the optimal parameters for electrical stimulation to generate locomotor patterns in the rat isolated spinal cord