Monitoring the on-farm welfare of sheep and goats