Towards the role of metal ions in the structural variability of proteins: CdII speciation of a metal ion binding loop motif.