Earthquake risk assessment of lifelines