Correlation of optical and electron spin resonance spectra for alkali metal solutions in ethylamine and tetrahydrofuran