Synthesis of titanium dioxide nanoparticles: phase, morphology and size control