binning: option -R to restrict binning interval

In analogy to option -r, the binning range for the first selected column
is read from a reference file, but in contrast, only values of bins
within the reference range are printed with option -R.
binning: options -s/-S to set ranges by argument
binning: allocation bugfix
histogram: allocation bugfix