How chocolate could counter climate change