The deposition of hard surface layers by hydrocarbon cracking in a glow discharge