Resveratrol improves neuron protection and functional recovery in rat model of spinal cord injury