Formation of spherical TiO2 nanorod aggregates with multiple functions for dye-sensitized solar cells