Rare earth doped apatite nanomaterials for biological application