Equilibrium properties of ferrocolloids