create a 1D histogram from a 1D graph (needed to use TGraphAsymmErrors:Divide on graphs, which is common in RooFit)