Short-range and long-range solvent effects on charge-transfer-to-solvent transitions of I- and K+I- contact ion pair dissolved in supercritical ammonia.