US food group ConAgra Foods has posted higher second-quarter earnings, helped by operational improvements.