Rare-earth-cation-induced change in the cholesteric twisting of neighboring nucleic acid molecules