Photostabilization of dye on anatase titania nanoparticles by polymer capping