Log-Linear Models for Frequency Data: Sufficient Statistics and Likelihood Equations