Detecting dynamic spatial correlation patterns with generalized wavelet coherence and non-stationary surrogate data