Determination of carbonization depths in Ti substrates in diamond growth atmospheres and modified diffusion models