Milk quality assessment in automatic milking systems: accounting for the effects of variable intervals between milkings on milk composition