Impulse response function and wavelet analysis of transient pressure signals for leak detection in pipes