Adaptive optimal basis set for BCG artifact removal in simultaneous EEG-fMRI