How did the alliances and treaties made by Native Americans affect their relationships with both the Patriots and the British?