The carbon footprint of buildings: A review of methodologies and applications