Log-Linear Models for Event Histories