EEG alpha power is modulated by attentional changes during cognitive tasks and virtual reality immersion