Dairy farmers to be told prices in advance