Knocking detection using wavelet instantaneous correlation method