Effects of the structure of the polymer support on the substitution reaction in a triphase catalysis