Objective measures of welfare in farming environments