4C: A Computation, Communication, and Control Co-Design Framework for CAVs