The central densities of Milky Way-mass galaxies in cold and self-interacting dark matter models