A wavelet based approach for measurements on high voltage impulses