Impact of the redox state of flavin chromophores on the UV-vis spectra, redox and acidity constants and electron affinities