Putin issues a stark warning to NATO and Ukraine