An Integrated Planning Approach to Cooperative Driving Automation