The evolution of hemispheric specialization in primates