Iranian media said the paramilitary Revolutionary Guard was bringing the two ships to Iran after seizing them in the strait.