First-principles study of Na atom transfer induced by the tip of a STM