Real-time pipeline leak detection and localization using an attention-based LSTM approach