Molecular rearrangements controlled by pH-driven CuII motions.