China and US, titans of carbon pollution, move to cut gases