Biomaterials and scaffolds for the treatment of spinal cord injury