Event history analysis of dynamic networks