Phylogenetic origins of biological cognition: convergent patterns in the early evolution of learning.