Synthesis, Luminescence, and Energy Transfer Properties of YPO4:Gd3+, Eu3+ and YP3O9:Sm3+, Eu3+ Phosphors