Theoretical models of charge-transfer complexes