Facile synthesis of highly thermally stable TiO2 photocatalysts