How livestock guardian dogs protect sheep