Text this: Features of interaction of adsorbed Cr and O atoms with hydrogen on the magnesium hydride surface