Hydrogen outgasing from titanium-modified layers with various surface treatments