Hierarchical TiO2 microspheres: synthesis, structural control and their applications in dye-sensitized solar cells