Dean Foods has confirmed that it is closing two US production plants in a move to rationalise production.