Preparation from compounds of sodium or potassium with amines and carbon dioxide