The Role of Sleep in Cognition and Emotion