Carbon Footprinting of Cities and Implications for Analysis of Urban Material and Energy Flows