Properties of hydrogen and hydrogen–vacancy complexes in the rutile phase of titanium dioxide