two types of earthquakes