Multi-layering of a nanopatterned TiO2 layer for highly efficient solid-state solar cells