Inter-bird distances and behavioural priorities in laying hens: the effect of spatial restriction