Joint Offloading and Resource Allocation in Vehicular Edge Computing and Networks