Charge-transfer complexes in organic chemistry—XII : Solvent effects on charge-transfer spectra