Intraoperative loss of somatosensory-evoked potentials predicts loss of spinal cord function.