The newly allied armies captured Beijing on June 6. How long did it take for the Manchus to take the rest of China?