Wang-Landau algorithm: a theoretical analysis of the saturation of the error.