Meta-learning in natural and artificial intelligence