The crystal structure of magnesium dicarbide