The development and use of equipment for the automatic recording of ingestive behaviour in sheep and cattle