Optimal Customized Pricing in Competitive Settings