Microstructural development and phase transformations in TiO2 nanostructures