NATO vows to support Ukraine 'as long as necessary'