Cost-effectiveness of mass marketing and market segmentation