Electron-positron pair momentum densities in Mg and Cd