US dairy processor Dean Foods has said its third-quarter earnings were hit by intense competition at the grocery retail level and higher costs.