Ultrasonic method for detection and location of defects in three-layer plastic pipe based on the wavelet transform