Review of Time Series Forecasting Methods and Their Applications to Particle Accelerators