Measurement of impurity concentrations and radiated power in the tandem mirror experiment