An investigation of social structure in housed dairy cows