A Characterization for Optimal Bundling of Products with Non-Additive Values