A Methodology for Evaluating the Seismic Safety Margin of a Chemical Plant