Control of the compound layer structure in gaseous nitrocarburizing