US agribusiness Archer Daniels Midland has said its second-quarter earnings rose sharply, helped by improved corn and wheat processing results.