An Improved BP Algorithm with Adaptive Smoothing Momentum Terms for Foreign Exchange Rates Prediction