what protects the spinal cord