Probabilistic Models to Assess the Seismic Safety of Rigid Block-Like Elements and the Effectiveness of Two Safety Devices