fields: Apply reference range also to binning

A »name.minmax« to a data file »name« is considered
by using options -r or -R for histogram and binning.
histogram: Separate variables for number of bins

Allow for different numbers of bins per dimension
for 1D and 2D histograms.