Visual encoding, consolidation, and retrieval in amyotrophic lateral sclerosis: executive function as a mediator, and predictor of performance