Dean Foods has reported a second-quarter loss - and warned of another loss in the third quarter in 2014 - as the US milk supplier battles "volatile" commodity costs.