Which was the first historic dynasty in China, dating from 1766 BC?