Solar radiation forecasting using ad-hoc time series preprocessing and neural networks