Factors of welfare reduction in dairy sheep and goats