Accounting for greenhouse gas emissions in cities