Chinese infant formula maker Yashili International Holdings saw its earnings climb in the first half of the year on the back of increasing sales.