Structure and photoluminescence of TiO2 nanocrystals doped and co-doped with N and rare earths (Y3+, Pr3+)