Behaviour of first lactation and adult dairy cows while housed and at pasture and its relationship with sole lesions