Statistically optimal continuous free energy surfaces from biased simulations and multistate reweighting.