On the spectroscopy of laser welding plasma as a tool for improving the quality of welded joints