Regulation of cerebral circulation during sleep