Atomic-scale mixing between MgO and H2O in the deep interiors of water-rich planets