Cognitive Phenotypes and the Evolution of Animal Decisions.