Study of electrical properties of intermetallic polycrystalline HgTe and ultra purification of mercury and tellurium