Ionic liquid assisted hydrothermal synthesis of TiO 2 nanoparticles: photocatalytic and antibacterial activity