Avoiding diffusion limitations in cobalt(III/II)-tris(2,2'-bipyridine)-based dye-sensitized solar cells by tuning the mesoporous TiO2 film properties.