Estimating errors in free energy calculations from thermodynamic integration using fitted data.