Ukrainian president says prolonged Iran war only benefits Russia