Rare earth phosphors: fundamentals and applications