Understanding and restoring speech production using an intracortical brain-computer interface