Removal of FMRI environment artifacts from EEG data using optimal basis sets