On the origins of physical cognition in corvids