Which two countries battled for control of North America in the 1700s?