Structural studies of III–V and group IV semiconductors at high pressure