Radio resource management for D2D-based V2X communication