A Data-Driven Framework Based on Sparse Representation of Ultrasonic Guided-Waves for Online Damage Detection of Pipelines