Coca-Cola reported second-quarter earnings and revenue that beat analyst expectations. Net income was down from the same period last year.