Adaptive Wavelets for Characterizing Magnetic Flux Leakage Signals From Pipeline Inspection