Reinforcement Learning for Joint V2I Network Selection and Autonomous Driving Policies