U.S. officials failed to devise a clear strategy for the war in Afghanistan, confidential documents show