Interaction between life cycle events and the education process : an analysis of spanish data