Consistent SI-prefix for ticks. Fixes #1746.

When a SI-prefix format (type "s") is passed to scale.tickFormat, compute a suitable SI-prefix based on the maximum value in the range, and then use that prefix for all ticks rather than computing the SI-prefix on a per-tick basis.