Understanding the structure and electronic properties of Th4+-water complexes