World leaders have agreed to the most ambitious climate targets ever set, aiming for net-zero emissions by 2045.