Duke beats North Carolina in 74-64 win