Diet selection using the nutritive value of forages