The European Central Bank (ECB) will raise interest rates twice this year as the Iran war drives inflation higher.