Pulsed laser annealed rare earth doped TiO2 thin films for luminescence and sensing applications