Atomic mechanism of ionic confinement in the thermoelectric Cu2Se based on a low-cost electric-current method