Facile fabrication of fluorescent TiO2 nanoparticles with core–shell structure by a self-templating method