Hourly accounting of carbon emissions from electricity consumption