Interactions of zinc(II), magnesium(II) and calcium(II) with iminodimethylenediphosphonic acids in aqueous solutions†