Real-space local self-motion of protonated and deuterated water