Effect of surface contamination and pretreatment on the hydrogen diffusion into and out of titanium under plasma conditions