How Will Artificial Intelligence Affect the Risk of Nuclear War?