An indoor method for studying the preferences of sheep and cattle at pasture