A paralysed man has regained the ability to walk smoothly using only his thoughts