World Court says countries are legally obligated to curb emissions, protect climate