Israel's army chief Eyal Zamir has privately warned about devastating consequences of a potential war with Iran.