Costs linked to last year's takeover of Del Monte Foods - and higher commodity prices - have led the US food group to post a quarterly loss.