Animal Cognition: Function, Mechanisms, Evolution, and Development