Australian supermarket group Coles has signed contracts with two dairy farmer co-operatives, which the retailer says is a "major win" for farmers.