Cereal company Kellogg has announced rises in sales and net earnings for the second quarter.