Nonstationary time series forecasting using wavelets and kernel smoothing