Neural control of brain state