An edge-based situ-aware framework for energy-efficient 5G vehicular networks and traffic congestion mitigation