Semi-metals as potential thermoelectric materials: case of HgTe