Towards functional social cognition in machines: comparing human and AI attribution of mental states from facial cues | Synapse