Template polymerization of sodium methacrylate in the presence of poly(allylamine) hydrochloride