A review on the forecasting of wind speed and generated power