Reactions of co-adsorbed carbon dioxide and dioxygen at the Mg(0001) surface at low temperatures