Stability of Natural Deposits during Earthquakes