Parametric equation of state for the n-vector model and polymers