France warns of war with Iran