Three essays on the consequences of seismic and environmental shocks on society