Preparation from air using a molten phase containing alkali metal nitrite, optionally together with other oxygen acceptors