Metal-insulator transition in the mercury-xenon system