Race and sex as determinants of perceived belief similarity