Species of Mind: The Philosophy and Biology of Cognitive Ethology