Simultaneous EEG-fMRI: from theory to practice