containing cationic or cationogenic groups together with anionic or anionogenic groups