Thermodynamic, surface, and structural properties of HgNa and HgZn liquid alloys