Social context affects patch-leaving decisions of sheep in a variable environment