Obama made a clear warning to Trump on Russia and Putin