Potentiometric study of copper(II) and nickel(II) complexation by a cross-linked poly(acrylic acid) gel