Carbon footprint of buildings