The behaviour of dairy cows in an automatic milking system where selection for milking takes place in the milking stalls