Conditional Random Fields via Univariate Exponential Families