Improving classification and reconstruction of imagined images from EEG signals