Tuning of physical-chemical properties of TiO2 nanotubes for multifunctional applications