AES and UPS studies of CO and CO2 adsorption on Mg and MgO