Emitted P300 and slow wave event-related potentials in guessing and detection tasks