Starbucks and Coca-Cola use customer data to make their experiences better and boost sales.