Experimental measurements and numerical simulations of the gas composition in a hot-filament-assisted diamond chemical-vapor-deposition reactor