Environmental sustainability requires a synergy between urban and building upgrading