Evolution and function of neurocognitive systems in non-human animals