Detection of coupling with linear and nonlinear synchronization measures for EEG