Interactions of calcium and aluminium ions with alginate