The Iran war has caused energy prices to surge, directly benefiting — and filling the coffers — of major oil and gas producers like Russia.