An equilibrium model for absorption of multiple divalent metals by alginate gel under acidic conditions