Competition with exclusive contracts and market-share discounts