Critically endangered South American forests were planted by ancient peoples