Effect of sodium and lanthanides (III) on the aromatic system of nicotinic, benzoic and salicylic acids