Binding of Ni2+ and Cu2+ ions to peptides with a Cys-His motif.