Models to Enable Estimation of Marginal CO2 Emissions in Electricity Production and Urban Mobility Systems.