Spectroscopic measurements of the parameters of the ablation clouds of deuterium pellets injected into tokamaks