What did Europeans try to legitimize all over the world by signing treaties with indigenous people?