How do invasive techniques record signals from the brain?