Distances and ratios in psychophysical scaling