A wavelet methodology for EEG time-frequency analysis in a time discrimination task