Surface modification of titanium dioxide nanoparticles