Quantum Theory of Charge-Transfer Processes in Condensed Media