Crystal structural premises to epitaxial contacts for a series of mercury-containing compounds