How thermal stability of ionic liquids leads to more efficient TiO2-based nanophotocatalysts: Theoretical and experimental studies.