Prediction of time series using wavelet Gaussian process for wireless sensor networks