Total sleep deprivation impairs visual selective attention and triggers a compensatory effect: evidence from event-related potentials