On the core structures of edge dislocations in NaCl and MgO: consequences for the core configurations of dislocation dipoles