Simulating the effects of underground nuclear explosions with an exploding wire