Studies on the catalytic activity of quaternary ammonium chloride residues in polymeric systems and their applications in triphasic reactions