Hydrogen diffusion and reaction processes in thin films investigated by real time spectroscopic ellipsometry