EEG artifact rejection by extracting spatial and spatio-spectral common components