who overthrew the mongols and established the ming dynasty