Tracer-encapsulated pellet injector for plasma diagnostics