Charge-transfer excitons in the dielectric theory of molecular crystals