Plasma emission spectroscopy as a monitoring tool for deposition of S-phase layers by magnetron sputtering