On the evolutionary roots of human social cognition