HgO at high pressures: the transition to the NaCl structure (HgO-III) and the equation of state of tetragonal HgO-II