The structure of ungulate communities