Calculations of hydrated titanium ion complexes: structure and influence of the first two coordination spheres