what is the relationship among the location of volcanoes and earthquake?​