Farmers in the Amazon could earn 9 times more and prevent ecosystem collapse