The voyage marks the second time Iranian warships have traveled to the Mediterranean in more than 30 years.