Military Misfortunes: The Anatomy of Failure in War