Time and space resolved video spectroscopy of the vacuum arc during the formation of high-current anode modes