Speed Forecasting Strategies for the Energy-Optimal Car-Following of Connected and Automated Vehicles