Paralysed man walks with device that connects brain, spinal cord