Determination of Structural Ensembles of Proteins: Restraining vs Reweighting