Nerve growth factor improves functional recovery by inhibiting endoplasmic reticulum stress-induced neuronal apoptosis in rats with spinal cord injury