Seismic reliability analysis of structures