Hydrogen bonding in polymer blends. 2. Theory