Continental agrees to sell 80,000 acres in North Dakota, Montana