What was the importance of the battle of yorktown?