What are the primary and secondary effects of earthquakes and volcanoes?