Energy-efficient adaptive resource management for real-time vehicular cloud services