Organic bases, carbon dioxide and naphthenic acids interactions. Effect on the stability of petroleum crude oil in water emulsions