UK quits treaty that gave fossil fuel firms power to sue governments over climate policy