Territorial expansion in the origins of New Spain: alliances, exploration, and resistance