US infant formula firm Mead Johnson has posted an increase in profits for the first half of the year despite earnings slightly dipping in the second quarter as a result of higher dairy costs.