Prolonging the lifetime of wireless sensor networks using light-weight forecasting algorithms