Analysis of correlation in terms of exact local potentials: Applications to two-electron systems.