Biomimetically Synthesized Luminescent Tb3+-Doped Fluorapatite/Agar Nanocomposite for Detecting UO22+, Cu2+, and Cr3+ Ions