Where and why did Spain establish colonies in North America, and how did native peoples resist colonization?