Beliefs about accuracy shape confidence attributions to humans and artificial agents | Synapse