A method for estimating the temporal and spatial patterns of carbon dioxide emissions from national fossil-fuel consumption