A neuronal group theory of sleep function