Trump: Waltz to exit national security post, nominated as UN ambassador