The role of sleep in the consolidation of memories and the effects of sleep deprivation on memory function.