Cognitive benefits of sleep and their loss due to sleep deprivation