Sol-gel preparation and characterization of Er3+ doped TiO2 luminescent nanoparticles