Acid synthesis of luminescent amine-functionalized or erbium-doped silica spheres for biological applications