Theoretical study of the formation of adsorbed dicarbonyl species