Power of veto pushed UN into deadlock: Ukrainian president