One-step introduction of amine and ammonium groups and cross linking of polygalacturonic acid