Effects of substituents on the chlorination of methyl 3‐hydroxythiophene‐2‐carboxylate and on the reaction of the resulting chlorinated products with active hydrogen containing compounds