Effects of electric stimulation and previous nerve injury on motor function recovery in rats