Ground states of BeC and MgC: A comparative multireference Brillouin–Wigner coupled cluster and configuration interaction study†