Patch selection by cattle: maximization of intake rate in horizontally heterogeneous pastures