John Kerry says he wants the U.S. to spend trillions of dollars to transition the economies