The US and China - together responsible for 40% of the world's carbon emissions - formally join the Paris global climate agreement.