Procedure for studying high-temperature electronic absorption spectra of melted salts