Gravar-mail: Time Series Forecasting for Energy-efficient Organization of Wireless Sensor Networks