The war in Iran and the risk that it could lead to a wider regional conflict have roiled global financial markets. Oil and European gas prices have spiked while equity markets have seen sharp declines.