Luminescent hydroxylapatite nanoparticles by surface functionalization