The world will experience diesel and jet fuel shortages "for some time" because of the war in Iran, according to the International Monetary Fund (IMF).