Simulating the climatic effects of nuclear war