Optimization of the Synthesis and Physical Characterization of Praseodymium-Doped Type III KGd(PO3)4 Nanocrystals