Text this: Influence of TiO2 layer's nanostructure on its thermoelectric power factor