Nonstationary Time Series Prediction Using Local Models Based on Competitive Neural Networks