Optimal Control of Air Conditioning Systems by Means of CO2 Sensors in Electric Vehicles