Optical emission spectroscopy as a method to improve the process automation of electric arc furnaces and ladle furnaces