Anatase to rutile phase transformations in K-doped TiO2 by sol-gel