Adaptive Task Scheduling via End-Edge-Cloud Cooperation in Vehicular Networks