Foraging behavior of dairy cattle in a pasture-based system with automated milking