Compounds containing quaternary nitrogen atoms