Sleep as a regulator of brain electrical activity.