Neural representations during sleep: From sensory processing to memory traces