Earthquakes and their effects