Statistical errors in histogram reweighting.