Magnesium combines with nitrogen to form a nitride, which reacts with water to form a colourless gas. The gas is: