Wavelet correlations of nonstationary signals