Two bases for similarity judgments within a category