Developing and validating measures of temperament in livestock