Prediction of CO2 emission in vehicles