How Oppenheimer weighed the odds of an atomic bomb test ending Earth