The properties of carbon layers deposited onto titanium substrates