Synthesis, spectroscopic and luminescent properties of nanosized powders of yttrium phosphates doped