Synthesis of Nb-doped TiO2 films on rigid and flexible substrates at low temperature