Electromagnetic phenomena related to earthquakes and volcanoes