Future cost-competitive electricity systems and their impact on US CO2 emissions