Complexes of carbene-functionalized diamondoids and metal atoms: Electronic properties