The functions of sleep: A cognitive neuroscience perspective