Novel one step process for preparing cross-linked poly(allylamine) polymers