The definition and measurement of similarity among legislative roll-call votes