NATO chief says Ukraine will join the military alliance, subject to reforms, after the war